Component org.nuxeo.ecm.platform.rendition.codec
In bundle org.nuxeo.ecm.platform.rendition.web
Requirements
Resolution Order
554
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.rendition.codec--codecs
- org.nuxeo.ecm.platform.rendition.codec--urlpatterns
- org.nuxeo.ecm.platform.rendition.codec--startURL
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.codec">
<require>org.nuxeo.ecm.platform.url.service.DocumentViewCodecService
</require>
<extension
target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
point="codecs">
<documentation>Declare codec for nxrendition urls</documentation>
<documentViewCodec name="rendition" enabled="true"
prefix="nxrendition" class="org.nuxeo.ecm.platform.rendition.url.DocumentRenditionCodec" />
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
point="urlpatterns">
<documentation>
Url pattern JSF bindings to access renditions
</documentation>
<urlPattern name="rendition" enabled="true">
<defaultURLPolicy>false</defaultURLPolicy>
<needBaseURL>true</needBaseURL>
<needRedirectFilter>false</needRedirectFilter>
<needFilterPreprocessing>true</needFilterPreprocessing>
<codecName>rendition</codecName>
<actionBinding>#{renditionRestHelper.render}</actionBinding>
<documentViewBinding>#{restHelper.documentView}</documentViewBinding>
<newDocumentViewBinding>#{restHelper.newDocumentView}
</newDocumentViewBinding>
</urlPattern>
</extension>
<extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="startURL">
<startURLPattern>
<patterns>
<pattern>nxrendition/</pattern>
</patterns>
</startURLPattern>
</extension>
</component>